package org.comple.erp.pojo.sales;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName invoiceregister
 */
public class InvoiceRegister implements Serializable {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private String salesSlipCode;

    /**
     * 
     */
    private String customerCode;

    /**
     * 
     */
    private String workNumber;

    /**
     * 制单人
     */
    private String makeWorkNumber;

    /**
     * 开票日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    /**
     * (未收款，部分收款，已结清)
     */
    private Integer status;

    /**
     * 已开票金额
     */
    private BigDecimal invoicedAmount;

    /**
     * 未开票金额
     */
    private BigDecimal notAmount;

    /**
     * 本次开票金额
     */
    private BigDecimal currentInvoiceAmount;

    /**
     * 
     */
    private String remarks;

    /**
     * 
     */
    private String company_code;

    /**
     * 0(存在)，1（删除）
     */
    private Integer isDel;

    /**
     * 商品数量
     */
    private Integer itemCount;

    /**
     * 折后金额
     */
    private BigDecimal salesAmount;

    /**
     * 总税额
     */
    private BigDecimal taxAmount;

    /**
     * 折税后总额
     */
    private BigDecimal slipPrice;

    /**
     * 发票编号
     */
    private String invoiceNumber;

    /**
     * 销售单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date slipDate;

    /**
     * 是否退货发票
     */
    private Integer isReturn;

    /**
     * 销售员名称
     */
    private String workName;

    private String customerName;

    private String slipId;

    private static final long serialVersionUID = 1L;

    public Integer getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Integer isReturn) {
        this.isReturn = isReturn;
    }

    public String getSlipId() {
        return slipId;
    }

    public void setSlipId(String slipId) {
        this.slipId = slipId;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getWorkName() {
		return workName;
	}

    public Date getSlipDate() {
        return slipDate;
    }

    public void setSlipDate(Date slipDate) {
        this.slipDate = slipDate;
    }

    /**
     * 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getSalesSlipCode() {
        return salesSlipCode;
    }

    /**
     * 
     */
    public void setSalesSlipCode(String salesSlipCode) {
        this.salesSlipCode = salesSlipCode;
    }

    /**
     * 
     */
    public String getCustomerCode() {

        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    /**
     * 
     */
    public String getWorkNumber() {
        return workNumber;
    }

    /**
     * 
     */
    public void setWorkNumber(String workNumber) {
        this.workNumber = workNumber;
    }

    /**
     * 制单人
     */
    public String getMakeWorkNumber() {
        return makeWorkNumber;
    }

    /**
     * 制单人
     */
    public void setMakeWorkNumber(String makeWorkNumber) {
        this.makeWorkNumber = makeWorkNumber;
    }

    /**
     * 开票日期
     */
    public Date getDate() {
        return date;
    }

    /**
     * 开票日期
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * (未收款，部分收款，已结清)
     */
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 已开票金额
     */
    public BigDecimal getInvoicedAmount() {
        return invoicedAmount;
    }

    public void setInvoicedAmount(BigDecimal invoicedAmount) {
        this.invoicedAmount = invoicedAmount;
    }

    public BigDecimal getNotAmount() {
        return notAmount;
    }

    public void setNotAmount(BigDecimal notAmount) {
        this.notAmount = notAmount;
    }

    /**
     * 本次开票金额
     */
    public BigDecimal getCurrentInvoiceAmount() {
        return currentInvoiceAmount;
    }

    /**
     * 本次开票金额
     */
    public void setCurrentInvoiceAmount(BigDecimal currentInvoiceAmount) {
        this.currentInvoiceAmount = currentInvoiceAmount;
    }

    /**
     * 
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * 
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * 
     */
    public String getCompany_code() {
        return company_code;
    }

    /**
     * 
     */
    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    /**
     * 0(存在)，1（删除）
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 0(存在)，1（删除）
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 商品数量
     */
    public Integer getItemCount() {
        return itemCount;
    }

    /**
     * 商品数量
     */
    public void setItemCount(Integer itemCount) {
        this.itemCount = itemCount;
    }

    /**
     * 折后金额
     */
    public BigDecimal getSalesAmount() {
        return salesAmount;
    }

    /**
     * 折后金额
     */
    public void setSalesAmount(BigDecimal salesAmount) {
        this.salesAmount = salesAmount;
    }

    /**
     * 总税额
     */
    public BigDecimal getTaxAmount() {
        return taxAmount;
    }

    /**
     * 总税额
     */
    public void setTaxAmount(BigDecimal taxAmount) {
        this.taxAmount = taxAmount;
    }

    /**
     * 折税后总额
     */
    public BigDecimal getSlipPrice() {
        return slipPrice;
    }

    public void setSlipPrice(BigDecimal slipPrice) {
        this.slipPrice = slipPrice;
    }

    /**
     * 发票编号
     */
    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    /**
     * 发票编号
     */
    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }
}